﻿using System; 
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.LearningTrain.DriverAbsenteeismRecord
{
    /// <summary>
    ///  数据模型
    /// </summary>
    [Table("driverabsenteeismrecord")]
    public class DriverAbsenteeismRecordEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 司机缺席记录表Id
        /// </summary>
        public long DriverAbsenteeismRecordId { get; set; }
        /// <summary>
        /// 司机缺席记录Code
        /// </summary>
        public string DriverAbsenteeismRecordCode { get; set; }
        /// <summary>
        /// 司机id
        /// </summary>
        public long DriverId { get; set; }
        /// <summary>
        /// 待培训id
        /// </summary>
        public long PendingLearningVehicleId { get; set; }
        /// <summary>
        /// 培训安排id
        /// </summary>
        public long VehicleTrainingScheduleRecordId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Mark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateAdminId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateAdminName { get; set; }

    }
}
